package com.sgb.goods.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 会员价详情
 */
public class MemberPriceEntity implements Serializable {
    
    public ItemMember itemMember;
    public List<ItemMemberList> itemMemberList = new ArrayList<>();
    public List<MemberPriceSkuDetail> memberPriceSkuDetail = new ArrayList<>();
    public String preciseStorageName;// 仓储名称
    public String brandName;// 品牌名称
    public String title; //品名
    public Integer state;//状态 0-失效 1-生效
    public String cartTitle;

    public int status;

    public static class ItemMember implements Serializable {
        public long createTime;//创建时间
        public String id;//
        public int isDeleted;
        public String itemId; //商品id
        public String supplierContact;
        public String supplierPhone;
        public int state;
    }

    //操作记录
    public class ItemMemberList implements  Serializable{
        public String createTime;//创建时间
        public String id;//
        public int isDeleted;
        public String itemId; //商品id
        public String supplierContact;
        public String supplierPhone;
        public List<SkuMemberPriceList> itemSkuMemberPriceList;
    }


    public class SkuMemberPriceList implements Serializable{
        public String skuDetails;
        public long skuId;
        public long itemMemberNo;
    }


    public class MemberPriceSkuDetail implements Serializable{
        /**
         *创建时间
         */
        public String createTime;//创建时间
        public String id;//
        public int isDeleted;
        /**
         *商品id
         */
        public String itemId; //商品id
        /**
         *商品会员信息no
         */
        public long itemMemberNo;
        /**
         *会员等级 0-普通会员 1-一星会员 2-二星会员 3-三星会员 4-四星会员 5-五星会员
         */
        public Integer level;//会员等级 0-普通会员 1-一星会员 2-二星会员 3-三星会员 4-四星会员 5-五星会员
        /**
         *销售价格
         */
        public String parityPrice;//销售价格
        /**
         *价格
         */
        public String price;//价格
        /**
         *促销价格
         */
        public String promotionPrice;//促销价格
        /**
         *sku详情
         */
        public String skuDetails;//sku详情
        /**
         *商品Sku_id
         */
        public long skuId;//商品Sku_id
    }
}
